<?php
 $dataTypeConfigAry = array( "text" => "文本", "date" => "日期(年-月-日)", "time" => "时间(时:分)", "datetime" => "日期时间(年-月-日 时:分)", "textarea" => "文本域", "textarea-plugin" => "文本域(开启富文本插件)", "file" => "附件/文件", "image" => "图片", "select" => "下拉框", "radio" => "单选框", "checkbox" => "多选框", ); $dataTypeToMysqlAry = array( "text" => "varchar(512)", "date" => "date", "time" => "varchar(8)", "datetime" => "varchar(64)", "textarea" => "text", "textarea-plugin" => "text", "file" => "varchar(256)", "image" => "varchar(256)", "select" => "varchar(256)", "radio" => "varchar(256)", "checkbox" => "varchar(512)", ); $elementTypeConfigAry = array( "select" => "下拉框", "radio" => "单选框", "checkbox" => "多选框", ); $elementDataTypeOfConfigAry = array( "int" => "数字", "string" => "字符串", ); $dataTypeNoDefaultConfig = array( "textarea", "textarea-plugin", "date", "time", "datetime", );